package edu.psu.geovista.app.dataloader.v1.components;

import java.awt.*;
import java.util.List;
import java.util.Map;

/*
 * GeoVISTA Center (Penn State, Dept. of Geography)
 * Copyright (c), 2003-2011,  Jin Chen and Alan M. MacEachren, GeoVISTA Center, Penn State University
 * All Rights Researved.
 *
 * This library is developed and distributed for free usage,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 * You can redistribute and/or modify it under the terms of the
 * Simplified BSD License
 *
 *
 *
 *
 *
 *
 *
 *
 * @Original Author: jin Chen
 * @date: Aug 19, 2003$
 * @version: 1.0
 */

public interface NCIDataSource {
    /**
     * Given attribute names, get data for the attributes
     * @param attrNames   attribute names
     * @return            names of attribute whose data is available
     */
    public String[] getAvailableDataList(String[] attrNames) ;
    /**
     *
     * @param   name of the attribute
     * @return
     */
    public List getAttribute(String name);


    //public Object[] getObservationNames();
    public Shape[] getShapeData() ;
    //public String[] getTimeSeriesDataNameList(String dataName);
    public Map getAttributeTsValue();
    //public  boolean loadTSMetaFile();

    public void cleanData(); //clean cache data, don't have to implement it
    public boolean isProjectedData() ;
    public void setProjectedData(boolean projectedData) ;

}
